/*
 * Sesame Inc.
 * Copyright (c) 2009 All Rights Reserved.
 */
package com.sesame.dao;

import java.util.List;

import com.sesame.domain.Friend;

/**
 * @author voidman
 * 
 */
public interface FriendDAO {
    public List<Friend> getAllFriend(Integer id);

    public List<Friend> getTopFriend(Integer userId);

    public Friend getFriendById(Integer id);

    public Integer getFriendByUserId(Friend friend);

    public void addFriend(Friend friend);

    public void deleteFriendByUserId(Friend friend);

    public void deleteFriendByReceiverId(Integer receiverId);

    public void updateFriend(Friend friend);
}